4 links tagged with all of: llm + prompt engineering + claude
Click any tag below to further narrow down your results
Links
Most LLM failures come from poorly written system prompts, not model selection. This guide covers the specific structures (XML tags for Claude, markdown for GPT), token budgeting strategies, and five patterns that consistently work—like making roles absurdly specific, showing exact output schemas instead of describing them, and explicitly telling models when to admit they don't know something. Testing matters too: run your prompts through happy paths, edge cases, and adversarial inputs multiple times before deploying.
- A 400-token system prompt outperformed a bloated 3,000-token version because the model got confused parsing everything at once
- Showing exact JSON schemas instead of describing them jumped format compliance from 70% to 95%+
- Claude performs 15-20% better with XML tags while GPT prefers markdown with JSON schemas and Gemini prefers markdown with numbered rules
- One ambiguous instruction (like "include all relevant context" next to a JSON format requirement) can cause a week of debugging
@Raytar on X
A post from X user @raytar claims a friend who is an Anthropic engineer shared an internal video on how the core team prompts Claude, and says the author realized after watching it that they had been using Claude wrong for two years. The post itself contains no concrete prompting techniques, so the value depends entirely on the linked video.
- The author says a friend at Anthropic, who they claim earns $1.2 million a year, sent them an internal video of the core team's prompting playbook.
- The author describes the video as something "never supposed to get out" and says nothing better on prompting exists.
- The post names no specific technique, example, or finding, so it is mainly a pointer to the video rather than a standalone source of guidance.
@asmah2107 on X
The post is a short endorsement from @asmah2107 saying a two-week trial of a custom system prompt improved their AI results, and it quotes Marc Andreessen (@pmarca) posting that prompt. The prompt tells the model to act as a world-class expert, verify facts, skip disclaimers and moral commentary, avoid flattery, hold its position under pushback, and give long, detailed answers.
- The prompt is a single block of instructions covering persona, verification, tone, and format, meant to be prefixed to every query.
- Key directives: no hallucination ("if you don't know, say so"), no disclaimers or ethics lectures unless asked, lead with the strongest counterargument, and don't cave to pushback without new evidence.
- The poster's only evidence is personal: "works better always" after two weeks of use. No benchmarks or comparisons are given.
@anujcodes_21 on X
Anthropic has published a free 27-minute workshop on writing prompts for Claude, taught by the team that built the model. The post's author argues it covers more practical ground in its first few minutes than paid courses costing $300 do in full.
- Anthropic's workshop is 27 minutes long and free to watch, with no registration or paywall.
- The instructors are the people who built Claude, not third-party course creators.
- The author claims paid $300 prompting courses cover less in their first 8 minutes than this workshop does overall.